package com.wsmhz.security.core.properties;

/**
 * create by tangbj on 2018/3/26
 * PC端配置项
 */
public class BrowserProperties {

    //默认标准登陆页面
    private String loginPage = SecurityConstants.DEFAULT_LOGIN_PAGE_URL;
    //默认标准注册页面
    private String registerPage = SecurityConstants.DEFAULT_REGISTER_PAGE_URL;
    //默认没有退出页面返回json，配置后返回页面
    private String logoutPage;
    //登陆响应类型
    private LoginResponseType loginResponseType = LoginResponseType.JSON;
    //记住我功能默认时间
    private int rememberMeSeconds = 3600;
    //session配置
    private SessionProperties session = new SessionProperties();

    public String getLoginPage() {
        return loginPage;
    }

    public void setLoginPage(String loginPage) {
        this.loginPage = loginPage;
    }

    public LoginResponseType getLoginResponseType() {
        return loginResponseType;
    }

    public void setLoginResponseType(LoginResponseType loginResponseType) {
        this.loginResponseType = loginResponseType;
    }
    public int getRememberMeSeconds() {
        return rememberMeSeconds;
    }

    public void setRememberMeSeconds(int rememberMeSeconds) {
        this.rememberMeSeconds = rememberMeSeconds;
    }

    public String getRegisterPage() {
        return registerPage;
    }

    public void setRegisterPage(String registerPage) {
        this.registerPage = registerPage;
    }

    public SessionProperties getSession() {
        return session;
    }

    public void setSession(SessionProperties session) {
        this.session = session;
    }

    public String getLogoutPage() {
        return logoutPage;
    }

    public void setLogoutPage(String logoutPage) {
        this.logoutPage = logoutPage;
    }
}
